{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="id" value="{$data.id}">
    <div class="layui-form-item">
        <label class="layui-form-label">用户等级</label>
        <div class="layui-input-block">
            <select name="level_id">
                <option>请选用户等级</option>
                {volist name="member_level" id="vo"}
                <option value="{$vo.id}" <?php if( $vo['id'] == $data['level_id']){ ?> selected <?php }?>>{$vo.name}</option>
                {/volist}
            </select>
        </div>
    </div>

<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">最低提现</label>-->
<!--        <div class="layui-input-block">-->
<!--            <input  value="{$data.min_tx}" type="text" name="min_tx" lay-verify="required|Number" autocomplete="off" placeholder="最低提现"-->
<!--                    class="layui-input">-->
<!--        </div>-->
<!--    </div>-->

<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">审核状态</label>-->
<!--        <div class="layui-input-block">-->

<!--            <input type="radio" name="is_clock" value="0" title="新人" {if $data.is_clock==0}checked{/if}>-->

<!--            <input type="radio" name="is_clock" value="1" title="老用户" {if $data.is_clock==1}checked{/if}>-->

<!--        </div>-->
<!--    </div>-->

<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">参与砍价</label>-->
<!--        <div class="layui-input-block">-->

<!--            <input type="radio" name="is_bargain" value="1" title="可参与" {if $data.is_bargain==1}checked{/if}>-->

<!--            <input type="radio" name="is_bargain" value="2" title="不可参与" {if $data.is_bargain==2}checked{/if}>-->

<!--        </div>-->
<!--    </div>-->

<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">参与拼团</label>-->
<!--        <div class="layui-input-block">-->

<!--            <input type="radio" name="is_pin" value="1" title="可参与" {if $data.is_pin==1}checked{/if}>-->

<!--            <input type="radio" name="is_pin" value="2" title="不可参与" {if $data.is_pin==2}checked{/if}>-->

<!--        </div>-->
<!--    </div>-->


    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use('yznForm', function () {
        var yznForm = layui.yznForm;
        yznForm.bindevent($("form.layui-form"));
    });
</script>
{/block}